﻿/* ---------- GENEL ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

html {
    zoom: 100%; /* Tüm sayfayı %75 oranında küçültür */
}

body {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0b3d0b, #32CD32);
    overflow: hidden;
}

.error-container {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px 40px;
    width: 100%;
    height:max-content;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35), inset 0 0 40px rgba(0, 255, 158, 0.1);
    border: 1px solid rgba(0, 255, 158, 0.2);
    animation: fadeIn 1s ease-in;
    position: relative;
}

.error-code {
    font-size: 90px;
    font-weight: 900;
    color: #013220;
    text-shadow: 2px 2px 10px rgba(0, 50, 32, 0.3);
    margin-bottom: 20px;
}

.error-message {
    font-size: 24px;
    color: #013220;
    margin-bottom: 25px;
    line-height: 1.4;
}

.error-description {
    font-size: 18px;
    color: #004d26;
    margin-bottom: 35px;
    line-height: 1.5;
}

/* Button */
.btn-home {
    padding: 18px 35px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #014421, #016a2d); /* koyu yeşil degrade */
    color: #e6f7e6; /* açık yeşil/white ton */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 70, 30, 0.6), inset 0 0 15px rgba(0, 120, 50, 0.2);
    transition: all 0.4s ease;
}

    /* Hover efekti */
    .btn-home:hover {
        background: linear-gradient(135deg, #016a2d, #014421);
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 10px 35px rgba(0, 120, 50, 0.8), inset 0 0 20px rgba(0, 160, 70, 0.3);
    }

    /* Butonun parlayan animasyonu */
    .btn-home::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: rgba(0, 200, 80, 0.15);
        transform: rotate(45deg);
        transition: all 0.5s ease;
        border-radius: 50%;
    }

    .btn-home:hover::before {
        top: -20%;
        left: -20%;
        width: 140%;
        height: 140%;
    }



/* Animasyonlar */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- REDIRECT CONTAINER ---------- */
.redirect-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #d4ffd4;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

    .redirect-container h1 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 20px;
        color: #006400; /* düz koyu yeşil */
    }

    .redirect-container p {
        font-size: 1.2rem;
        color: #004d00; /* daha koyu yeşil tonlu paragraf */
    }

#countdown {
    font-weight: 700;
    font-size: 1.5rem;
    color: #006400; /* başlık ile aynı koyu yeşil */
    margin-left: 5px;
}



